<%@ Page EnableEventValidation="false" EnableViewState="false" Language="vb" AutoEventWireup="false" CodeFile="templateSet.aspx.vb" Inherits="pages_TemplateSets_TemplateSet"
    MasterPageFile="~/masterpages/codegen.master"
    Title="Add or Change a Pattern."
    ValidateRequest="False"
%>
<%@ Register tagprefix="uc" tagname="UCContents" src="~/pages/contents/usercontrols/UCContents.ascx" %>

<asp:Content ID="c" ContentPlaceHolderID="body" runat="server">

    <uc:FormBegin ID="fb" runat="server" />
        <uc:Textbox  ID="txtSetName" runat="server" Required="true" Label="Name" />
        <uc:Dropdown ID="ddSetLanguageId" Runat="server" Required="true" Label="Language" />
        <uc:Dropdown ID="ddSetParentSetId" Runat="server" Label="Parent" Mode="Locked" />
        <uc:Textbox  ID="txtSetUserName" runat="server" Label="Owner" Mode="Locked" />
        <uc:Textbox  ID="txtSetCreated" Runat="server"  Label="Created" mode="Locked" />

        <uc:FormButtonsBegin ID="fbb" runat="server" />
            <asp:button id="btnSave"    runat="server" text="Update" causesvalidation="True"  />
            <asp:button id="btnDelete"  runat="server" text="Delete" causesvalidation="False" OnClientClick="return confirm('Delete this Pattern?')" />
            <asp:button id="btnCancel"  runat="server" text="Cancel" causesvalidation="False" />
        <uc:FormButtonsEnd   ID="fbe" runat="server" />
    <uc:FormEnd ID="fe" runat="server" />
    
    <asp:ValidationSummary ID="vs" runat="server" ShowSummary="true" EnableClientScript="true" DisplayMode="BulletList" />
</asp:Content>

<asp:Content ID="b" runat="server" ContentPlaceHolderID="below">
    <uc:UCContents ID="ctrlTemplateSets" runat="server"  />
    <br /><br />
    <uc:UCContents ID="ctrlTempatesMissing" runat="server"  />
</asp:Content>
